// import JModal from './JModal'import JModal from './JModal'

// import JPopup from './JPopup.vue'
// import JMarkdownEditor from './JMarkdownEditor'
// import JCodeEditor from './JCodeEditor.vue'

// import JEditableTable from './JEditableTable.vue'



// import JTreeSelect from './JTreeSelect.vue'
// import JCategorySelect from './JCategorySelect.vue'
// import JImageUpload from './JImageUpload.vue'
// import JImportModal from './JImportModal.vue'
// import JTreeDict from './JTreeDict.vue'
// import JCheckbox from './JCheckbox.vue'
// import JCron from './JCron.vue'


// import JInput from './JInput.vue'
// import JPopupOnlReport from './modal/JPopupOnlReport.vue'
// import JFilePop from './minipop/JFilePop.vue'
// import JInputPop from './minipop/JInputPop.vue'
// import JSelectMultiple from './JSelectMultiple.vue'
// import JSlider from './JSlider.vue'
// import JSwitch from './JSwitch.vue'
// import JTime from './JTime.vue'
// import JTreeTable from './JTreeTable.vue'
// import JEasyCron from '@/components/jeecg/JEasyCron'



import JAreaLinkage from './JAreaLinkage.vue'
import JFormContainer from './JFormContainer.vue'
import JSuperQuery from './JSuperQuery.vue'
import JModal from './JModal'
import JSelectDepart from './JSelectDepart.vue'
import JSelectTask from './JSelectTask.vue'
import JSelectPosition from './JSelectPosition.vue'
import JSelectUserByDep from './JSelectUserByDep.vue'
import JSelectRole from './JSelectRole.vue'
import JSelectMultiUser from './JSelectMultiUser.vue'
import JSelectSingUser from './JSelectSingUser.vue'
import JImageUpload from './JImageUpload.vue'
import JSelectInformant from './JSelectInformant.vue'
import JEllipsis from './JEllipsis.vue'
import JDate from './JDate.vue'
import JUpload from './JUpload.vue'
import JEditor from './JEditor.vue'
// 引入需要全局注册的js函数和变量
import { Modal, notification, message } from 'ant-design-vue'
import lodash_object from 'lodash'
import debounce from 'lodash/debounce'
import data from 'china-area-data'

export default {
    install(Vue) {
        Vue.use(JModal)
        Vue.component('JSelectMultiUser', JSelectMultiUser)
        Vue.component('JSelectSingUser', JSelectSingUser)
        Vue.component('JSelectTask', JSelectTask)
        Vue.component('JSelectDepart', JSelectDepart)
        Vue.component('JSelectPosition', JSelectPosition)
        Vue.component('JSelectUserByDep', JSelectUserByDep)
        Vue.component('JSelectRole', JSelectRole)
        Vue.component('JImageUpload', JImageUpload)
        Vue.component('JDate', JDate)
        Vue.component('JEllipsis', JEllipsis)
        Vue.component('JUpload', JUpload)
        Vue.component('JSelectInformant', JSelectInformant)
        Vue.component('JSuperQuery', JSuperQuery)
        Vue.component('JAreaLinkage', JAreaLinkage)
        Vue.component('JFormContainer', JFormContainer)
        Vue.component('JEditor', JEditor)
        //注册全局js函数和变量
        Vue.prototype.$Jnotification = notification
        Vue.prototype.$Jmodal = Modal
        Vue.prototype.$Jmessage = message
        Vue.prototype.$Jlodash = lodash_object
        Vue.prototype.$Jdebounce = debounce
        // Vue.prototype.$Jpick = pick
        Vue.prototype.$Jpcaa = data
    }
}